ABC152 B - Comparing Strings
https://atcoder.jp/contests/abc152/tasks/abc152_b
code: python
a, b = input().split()
a_b = a * int(b)
b_a = b * int(a)
if (a_b > b_a):
print(int(b_a))
else:
print(int(a_b))